.class Les/kd$d;
.super Ljava/lang/Object;
.source "BGMRender.java"

# interfaces
.implements Lcom/esfile/screen/recorder/player/exo/a$i;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Les/kd;-><init>(Lcom/esfile/screen/recorder/videos/edit/player/c;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field a:Z

.field final synthetic b:Les/kd;


# direct methods
.method constructor <init>(Les/kd;)V
    .locals 0

    .line 1
    iput-object p1, p0, Les/kd$d;->b:Les/kd;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const/4 p1, 0x0

    .line 2
    iput-boolean p1, p0, Les/kd$d;->a:Z

    return-void
.end method


# virtual methods
.method public a(ZII)V
    .locals 1

    .line 1
    iget-object p3, p0, Les/kd$d;->b:Les/kd;

    iget-boolean v0, p3, Les/od;->c:Z

    if-nez v0, :cond_0

    return-void

    .line 2
    :cond_0
    invoke-static {p3, p2}, Les/kd;->a(Les/kd;I)I

    if-nez p1, :cond_1

    .line 3
    iget-object p1, p0, Les/kd$d;->b:Les/kd;

    invoke-static {p1}, Les/kd;->a(Les/kd;)Lcom/esfile/screen/recorder/videos/edit/player/VideoEditBGMPlayer;

    move-result-object p1

    invoke-virtual {p1}, Lcom/esfile/screen/recorder/videos/edit/player/VideoEditBGMPlayer;->b()V

    :cond_1
    const/4 p1, 0x3

    if-ne p2, p1, :cond_2

    const/4 p1, 0x1

    .line 4
    iput-boolean p1, p0, Les/kd$d;->a:Z

    .line 5
    iget-object p1, p0, Les/kd$d;->b:Les/kd;

    invoke-static {p1}, Les/kd;->a(Les/kd;)Lcom/esfile/screen/recorder/videos/edit/player/VideoEditBGMPlayer;

    move-result-object p1

    invoke-virtual {p1}, Lcom/esfile/screen/recorder/videos/edit/player/VideoEditBGMPlayer;->b()V

    .line 6
    :cond_2
    iget-boolean p1, p0, Les/kd$d;->a:Z

    if-eqz p1, :cond_3

    const/4 p1, 0x4

    if-ne p2, p1, :cond_3

    const/4 p1, 0x0

    .line 7
    iput-boolean p1, p0, Les/kd$d;->a:Z

    .line 8
    iget-object p1, p0, Les/kd$d;->b:Les/kd;

    invoke-static {p1}, Les/kd;->a(Les/kd;)Lcom/esfile/screen/recorder/videos/edit/player/VideoEditBGMPlayer;

    move-result-object p1

    iget-object p2, p0, Les/kd$d;->b:Les/kd;

    iget-object p2, p2, Les/od;->a:Lcom/esfile/screen/recorder/videos/edit/player/c;

    invoke-virtual {p2}, Lcom/esfile/screen/recorder/videos/edit/player/c;->getCurrentPosition()I

    move-result p2

    invoke-virtual {p1, p2}, Lcom/esfile/screen/recorder/videos/edit/player/VideoEditBGMPlayer;->b(I)V

    :cond_3
    return-void
.end method
